package zengjin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;
import zengjin.common.PageResponse;
import zengjin.model.dto.send.AddSendRequest;
import zengjin.model.dto.send.PageSendRequest;
import zengjin.model.en.Send;
import zengjin.model.vo.send.JobAndResumeVO;
import zengjin.model.vo.send.PageJobAndResumeVO;

/**
* @author 19324
* @description 针对表【send】的数据库操作Service
* @createDate 2025-01-02 14:22:19
*/
@Service
public interface SendService extends IService<Send> {

    boolean addSend(AddSendRequest addSendRequest);

    long isSend(Long sendJobseekerId, Long sendEmployerId, Long sendJobId);

    boolean updateSendStatus(Long sendId, String sendStatus);

    PageResponse<PageJobAndResumeVO> pageSend(PageSendRequest pageSendRequest);

    JobAndResumeVO getSendById(Long sendId);
}
